Shapes of y² = x³ + 7

Shapes of y² = x³ + 7

The secp256k1 equation seen three ways: as a complex torus, as a two-sheeted surface over the complex plane, and as the scattered point sets you get when you reduce it mod small primes. Drag any plot to rotate it.

The group is a torus

Over ℂ the curve is ℂ/Λ, with Λ the hexagonal lattice ℤ + ℤω. Adding points is adding vectors mod Λ, so the multiples k·P of one point trace a straight line that winds around the surface.

Drawn on a round doughnut for readability. The true flat torus has a hexagonal fundamental domain, which is where the six-fold symmetry (β and λ on secp256k1) comes from.